package cn.laixueit.task;


import org.springframework.stereotype.Component;

import java.util.Date;
@Component
public class MyTask {

//    @Scheduled(cron = "* * * * * ?")
    public void t(){
        System.out.println(new Date());
    }
}
